{extend name="base_iframe" /}

{block name="css"}
	<link rel="stylesheet" href="__STATIC__/plugins/webuploader/demo.css">
{/block}

{block name="body"}

<div id="wrapper">
	<div id="container2">
		<!--头部，相册选择和格式选择-->
		<div id="uploader">
			<div class="queueList">
				<div id="dndArea" class="placeholder">
					<div id="filePicker">点击选择文件</div>
				</div>
			</div>
			<div class="statusBar" style="display:none;">
				<div class="progress">
					<span class="text">0%</span>
					<span class="percentage"></span>
				</div><div class="info"></div>

				<div class="btns">
					<div id="filePicker2"></div><div class="uploadBtn">开始上传</div>
				</div>
			</div>
		</div>
	</div>
</div>

{/block}

{block name="js"}
<script type="text/javascript">
	var uploader_swf      = '__STATIC__/plugins/webuploader/Uploader.swf';
	var uploader_server   = "{:url('file/FileManager/uploadChunk')}";
	var uploader_server   = "{:url('admin/Goods/uploadAlbum')}";
	var goods_id          = "{$goods_id}";
</script>
{/block}

{block name="script"}
	<script type="text/javascript" src="__AJS__/goods/upload_image_page.js"></script>
{/block}